cmake_minimum_required(VERSION 3.21)
project(test)

set(CMAKE_CXX_STANDARD 14)

include_directories(./)

add_executable(fifo_node1_test fifo_node1_test.cpp)
add_executable(fifo_node2_test fifo_node2_test.cpp)
add_executable(socket_clien_test socket_clien_test.cpp)
add_executable(socket_server_test socket_server_test.cpp)

add_executable(sm_client sm_client.c)
target_link_libraries(sm_client pthread)
add_executable(sm_server sm_server.c)
target_link_libraries(sm_server pthread)

